phase trajectory of undamped oscillator